/***************************************
* @update: 2021-04-20  hby		 [创建文件,编写功能]
* @update: 2021-05-11  LiLinBin  [提取路由配置信息]
* @update: 2021-05-29  LiLinBin  [将'platform'改成'system',使得浏览器url地址和src下文件夹的命名一致]
*
* @description: 路由配置信息
 ***************************************/

const other = [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/inactivePage',
        name: 'inactivePage',
        component: () => import('system/other/inactive'),
    },
    {
        path: '/:pathMatch(.*)*',
        name: "404",
        component: () => import('system/other/404'),
    }
]



const single = [
    {
        path: '/login',
        name: 'login',
        component: () => import('system/login/index'),
        meta: {
            title: '登录页'
        }
    },
    {
        path: '/projectsTest',
        name: 'projectsTest',
        component: () => import('system/projectsTest/index'),
        meta: {
            title: '项目调试'
        }
    }
]






const config = [
    ...other,
    ...single
]



export default config